<template>
  <div class="container h-2xl">
    <MdEditor :value="content" :onChange="change" />
  </div>
</template>
<script setup lang="ts">
//@ts-ignore
import MdEditor from '@/components/MdEditor/index.vue'
import { ref } from 'vue'
const content = ref('')
const change = (val: string) => {
  content.value = val
}
</script>
